To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.
Discovery document
A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:
A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-25 UTC."],[],[],null,["# Enterprise License Manager API\n\nThe Google Enterprise License Manager API lets you manage Google Workspace and related licenses for all users of a customer that you manage.\n\n- [REST Resource: v1.licenseAssignments](#v1.licenseAssignments)\n\nService: licensing.googleapis.com\n---------------------------------\n\nTo call this service, we recommend that you use the Google-provided [client libraries](https://cloud.google.com/apis/docs/client-libraries-explained). If your application needs to use your own libraries to call this service, use the following information when you make the API requests.\n\n### Discovery document\n\nA [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:\n\n- \u003chttps://licensing.googleapis.com/$discovery/rest?version=v1\u003e\n\n### Service endpoint\n\nA [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:\n\n- `https://licensing.googleapis.com`\n\nREST Resource: [v1.licenseAssignments](/workspace/admin/licensing/reference/rest/v1/licenseAssignments)\n-------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|--------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------|\n| [delete](/workspace/admin/licensing/reference/rest/v1/licenseAssignments/delete) | `DELETE /apps/licensing/v1/product/{productId}/sku/{skuId}/user/{userId}` Revoke a license. |\n| [get](/workspace/admin/licensing/reference/rest/v1/licenseAssignments/get) | `GET /apps/licensing/v1/product/{productId}/sku/{skuId}/user/{userId}` Get a specific user's license by product SKU. |\n| [insert](/workspace/admin/licensing/reference/rest/v1/licenseAssignments/insert) | `POST /apps/licensing/v1/product/{productId}/sku/{skuId}/user` Assign a license. |\n| [listForProduct](/workspace/admin/licensing/reference/rest/v1/licenseAssignments/listForProduct) | `GET /apps/licensing/v1/product/{productId}/users` List all users assigned licenses for a specific product SKU. |\n| [listForProductAndSku](/workspace/admin/licensing/reference/rest/v1/licenseAssignments/listForProductAndSku) | `GET /apps/licensing/v1/product/{productId}/sku/{skuId}/users` List all users assigned licenses for a specific product SKU. |\n| [patch](/workspace/admin/licensing/reference/rest/v1/licenseAssignments/patch) | `PATCH /apps/licensing/v1/product/{productId}/sku/{skuId}/user/{userId}` Reassign a user's product SKU with a different SKU in the same product. |\n| [update](/workspace/admin/licensing/reference/rest/v1/licenseAssignments/update) | `PUT /apps/licensing/v1/product/{productId}/sku/{skuId}/user/{userId}` Reassign a user's product SKU with a different SKU in the same product. |"]]